package com.lnking.lnkingplace.model.dto.isolation.personnel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.lnkingplace.Util.LocalDateTimeUtil;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableInfo(tableName = "隔离人员信息")
public class PersonnelExcel {

    @TableColumn(columnName = "隔离场所名称",column = "0")
    private String placeName;

    @TableColumn(columnName = "房间号",column = "1")
    private String roomNumber;

    @TableColumn(columnName = "姓名",column = "2")
    private String name;

    @TableColumn(columnName = "联系方式",column = "3")
    private String phone;

    @TableColumn(columnName = "身份证号",column = "4")
    private String idCard;

    @TableColumn(columnName = "年龄",column = "5")
    private Integer age;

    @TableColumn(columnName = "重点人员",column = "6")
    private Integer importantPersonnel;

    @TableColumn(columnName = "隔离人员类型",column = "7")
    private String personnelType;

    @TableColumn(columnName = "出发区域",column = "8")
    private String area;

    @TableColumn(columnName = "出发街道",column = "9")
    private String street;

    @TableColumn(columnName = "解除隔离后详细住址",column = "10")
    private String address;

    @TableColumn(columnName = "隔离开始时间",column = "11")
    private String formatTime;

    @TableColumn(columnName = "是否解除隔离",column = "12")
    private String moveStatus;

    @TableColumn(columnName = "解除隔离时间",column = "13")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @TableColumn(columnName = "核酸轮次",column = "14")
    private Integer round;

    @TableColumn(columnName = "管控建议",column = "15")
    private String controlProposal;

    @TableColumn(columnName = "管控天数",column = "16")
    private Integer controlDays;

    @TableColumn(columnName = "所属社区",column = "17")
    private String community;

    @TableColumn(columnName = "备注",column = "18")
    private String note;


}
